{% extends "base.html" %}

{% block content %}
<div class="auth-container">
    <div class="ios-card auth-card">
        <h2>重置密码</h2>
        <form method="POST" action="">
            {{ form.hidden_tag() }}
            <div class="ios-form-group">
                {{ form.password.label }}
                {{ form.password(class="ios-input") }}
                {% for error in form.password.errors %}
                <span class="error">{{ error }}</span>
                {% endfor %}
            </div>
            <div class="ios-form-group">
                {{ form.password2.label }}
                {{ form.password2(class="ios-input") }}
                {% for error in form.password2.errors %}
                <span class="error">{{ error }}</span>
                {% endfor %}
            </div>
            <button type="submit" class="ios-button">重置密码</button>
        </form>
    </div>
</div>
{% endblock %} 